package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IEnqueteDao;
import br.com.news.database.entities.EnqueteEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.EnqueteBean;
import br.com.news.utils.database.interfaces.IEnqueteService;

@Named
public class EnqueteService extends GenericService<EnqueteBean, EnqueteEntity, Long> implements IEnqueteService{

	@Inject
	private IEnqueteDao enqueteDao;

	@Override
	protected IGenericDao<EnqueteEntity, Long> getConcreteDao() {
		return this.enqueteDao;
	}

}
